﻿//
// Copyright (c) 2024 BPer
//
#ifndef MeetingPlayoBase_H
#define MeetingPlayoBase_H
#include <bperplayer/BPerPlayerDecoder.h>
#include <bperplayer/BPerPlayerPlay.h>
#include <vector>

#include "bperutil/buffer/BPerAudioEncoderBuffer.h"
#include "bperutil/buffer/BPerAudioPlayBuffer.h"
#include "bperutil/buffer/BPerVideoDecoderBuffer.h"

using namespace std;
class BPerPlayerBase
{
    public:
        BPerPlayerBase();
        virtual ~BPerPlayerBase();
        BPerPlayerDecoder *m_ydb;
        BPerPlayerPlay *m_ypb;

    void startAudioDecoder(BPerAudioEncoderBuffer *prr);
    void startVideoDecoder(BPerVideoDecoderBuffer *prr);
    void init(BPerContext* audio);
    void startAudioPlay(BPerContext* paudio);
    void stopAll();
    protected:

    private:

};

#endif // ZBBASE_H
